home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SPACE 1
/
SPACE - Library 1 - Volume 1.iso
/
utilitys
/
645
/
swivel
/
swivel.txt
< prev
Wrap
Text File
|
1992-04-24
|
2KB
|
58 lines
SWIVEL Version 1.0 (92-04-15)
by Dan Panke
SWIVEL is a program that you place in your AUTO folder (or
anywhere else for that matter) and execute to perform duties
according to the current screen resolution. Some programs (i.e.
HARLEKIN) have different program version depending on whether the
program is color or mono. By placing SWIVEL in your auto folder
you can have programs, accessories, desktop.inf files, etc.
renamed for use.
When run, SWIVEL first looks for a file in its current directory
called 'SWIVEL.INF'. If SWIVEL.INF cannot be found in the current
directory, SWIVEL.INF is looked for in the root auto folder
("/AUTO/SWIVEL.INF"). The SWIVEL.INF file can be created with any
word processor and saved as an ASCII text file.
A SWIVEL.INF command line consisting of three parts:
1) The resolution to only perform the renaming.
2) The program/file to rename.
3) The name to rename the program/file to.
SWIVEL should be error trapped well enough that you can add
comment lines to your SWIVEL.INF file. You only have to be
careful not to append any extra text or comments on SWIVEL.INF
command lines.
SAMPLE SWIVEL.INF file:
0 c:\harlekin.acc harlekin.acx
0 c:\harlecol.acx harlecol.acc
2 c:\harlekin.acx harlekin.acc
2 c:\harlecol.acc harlecol.acx
This SWIVEL.INF file renames the HARLEKIN mono accessory to have
an ACX extender if the system is booted in low resolution
(0=LOW). It then renames the HARLEKIN color version to ACC so it
will be loaded when the system is completed. The opposite is done
if the system is booted in high resolutioon (2=HIGH).
SWIVEL always checks to see if the file exists before attempting
to rename so no errors should occur (my fingers are crossed).
I've considered adding function keys to perform extra functions
as needed (i.e. enabling/disabling a RAM disk, print spooler,
GDOS, etc.) but I've left that up to request. So, if you want to
see these extra features, leave me some E-mail or comments on the
following systems:
CompuServe: 73257,2635
Delphi: DPANKE
GEnie: D.PANKE